from django.contrib.auth import get_user_model
from rest_framework import serializers

from utils.BaseSerializer import BaseModelSerializer


class UserSerializer(BaseModelSerializer):
    class Meta:
        model = get_user_model()
        fields = ('uid', 'username', 'avatar', 'join_date')
